﻿<Window x:Class="XamlLocalizer.Views.FindUnlocalizedFilesDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Xaml Localizer Addin - Find Unlocalized Files" MinHeight="300" MinWidth="300"
        Height="400" Width="600"
        ShowInTaskbar="False" WindowStartupLocation="CenterOwner">
    <Grid>
        <GroupBox Header="Look in" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="12,12,0,0">
            <StackPanel>
                <RadioButton Content="Entire Solution" IsChecked="{Binding LookInSolution}" Margin="5"/>
                <RadioButton Content="Current Project" IsChecked="{Binding LookInCurrentProject}" Margin="5"/>
            </StackPanel>
        </GroupBox>
        <Button Content="Find" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="77,81,0,0" Width="66" 
                Command="{Binding FindCommand}"/>
        <Button Content="Cancel" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="149,81,0,0" Width="66" 
                Command="{Binding CancelCommand}" IsCancel="True"/>
        <TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="10,110,10,0"
                   TextTrimming="CharacterEllipsis" Text="{Binding ProgressText, Mode=OneWay}"/>
        <ProgressBar HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="10,135,10,0"
                     IsIndeterminate="{Binding ProgressIsIndeterminate, Mode=OneWay}"/>
        <TextBlock Text="List of found not localized files" VerticalAlignment="Top" Margin="10,149,10,0" HorizontalAlignment="Left"/>
        <TextBox IsReadOnly="True" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="10,165,10,10"
                 VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Auto" Text="{Binding FilesList, Mode=OneWay}"/>
    </Grid>
</Window>
